local feelings = { }
feelings[1] = "I'm fine :)"
//feelings[2] = "No, your here!"
feelings[3] = "It's going good today"
//feelings[4] = "No, My leg hurts!"
feelings[5] = "I don't wana speek ... "

local feelings2 = { }

feelings2[1] = "Yes thank you"
feelings2[2] = "No, your here!"
feelings2[3] = "No, my leg hurts!"
feelings2[4] = "Fine thanks"
	
	
function ChatBot.AddFeeling( tab )
	for k,v in pairs( tab ) do
		table.insert( feelings , v )
		print("ChatBot : Added feeling !" )
	end
end
	
hook.Add("PlayerSay", "ChatBot.Feelings", function( ply, text )
	if( string.match(text, "%how are you") )then
		umsg.Start("ChatBot.Call")
			umsg.String( table.Random(feelings) )
		umsg.End()
	end
	
	if( string.match(text, "%are you ok") )then
		umsg.Start("ChatBot.Call")
			umsg.String( table.Random(feelings2) )
		umsg.End()
	end
end)